@font-face {
	font-family: "NotoSans";
	src: local("Noto Sans");
}

body {
	margin: 0;
	padding: 0;
}

body, html {
	-webkit-text-size-adjust: none;
	width: 100%;
	min-height: 100vh;
	font-size: 12px;
	font-family: "Serif";
}

body {
	background: #F5F5F5;
}

img {
	border: 0px;
	max-width: 100vw;
}

ul, li, dl, dd, dt, p, ol, h1, h2, h3, h4, h5 {
	font-weight: 100;
	padding: 0;
	margin: 0;
}

li {
	list-style: none;
}

.tc {
	text-align: center;
}

a {
	text-decoration: none;
}

p {
	overflow: hidden;
}

input[type='text'][type='tel'] {
	text-indent: 5px;
	text-decoration: none;
	-webkit-appearance: none;
	-moz-appearance: none;
	appearance: none;
}

input {
	-webkit-tap-highlight-color: rgba(255, 255, 255, 0);
}

.block {
	display: block;
}

.fl {
	float: left;
}

.fr {
	float: right;
}

.pointer {
	cursor: pointer;
}

a, input, button {
	outline: none;
}

::-moz-focus-inner {
	border: 0px;
}

.show {
	display: block;
}

.hide {
	display: none !important;
}

@text-black-color: #272727;

.loop(@counter) when (@counter > 0) {
	.loop((@counter - 1)); // 递归调用自身
	.mt@{counter} {
		margin-top: (1px * @counter);
	}
	.ml@{counter} {
		margin-left: (1px * @counter);
	}
	.mb@{counter} {
		margin-bottom: (1px * @counter);
	}
	.mr@{counter} {
		margin-right: (1px * @counter);
	}

	.pt@{counter} {
		padding-top: (1px * @counter);
	}
	.pl@{counter} {
		padding-left: (1px * @counter);
	}
	.pb@{counter} {
		padding-bottom: (1px * @counter);
	}
	.pr@{counter} {
		padding-right: (1px * @counter);
	}
	.pa@{counter} {
		padding: (1px * @counter);
	}
	.ma@{counter} {
		margin: (1px * @counter);
	}
	@h: @counter*10;
	.h@{h} {
		height: (1px * @h)
	}
;
	@nh: @counter+15;
	.lh@{nh} {
		line-height: (@counter+15px);
	}
}

.loop(20);

.text-center {
	text-align: center;
}

.app-container {

	display: flex;
	min-height: 100vh;
	flex-direction: column;
	overflow: hidden;
	.app-content {
		flex: 1;
		display: flex;
		> div {
			height: 100%;
		}
	}
}

.loginbg {
	height: 600px;
	width: 100%;

	background-image: url('../images/admin/login.jpg');
	background-position: center center;
	background-size: auto 100%;
	background-repeat: no-repeat;
	overflow: hidden;

	.login-box {
		height: 414px;
		width: 844px;
		margin: auto;
		margin-top: 87px;

		position: relative;

		input {
			position: absolute;
			right: 16px;
			width: 287px;
			height: 45px;
			top: 139px;
			background: rgba(0, 0, 0, 0);
			border: none;
			text-indent: 50px;
			font-size: 1.4rem;
		}

		#pass {
			top: 220px;
		}

		button {
			width: 196px;
			line-height: 45px;
			top: 290px;
			position: absolute;
			right: 60px;
			border: 1px solid #EAF7FF;
			background: #48b4f5;
			color: #fff;
			font-size: 1.6rem;
			cursor: pointer;
		}

	}
}

.top-nav {

	height: 80px;
	background: #304d6b;
	img {
		height: 100%;
		display: block;
		float: left;
	}

	.admininfo {

		float: right;
		width: 210px;
		//background:#999;
		height: 100%;

		p, a {
			display: inline-block;
		}
		span {
			display: block;
			color: #fff;
		}

		span:first-child {
			font-size: 1.5rem;
			margin-top: 15px;
			margin-bottom: 5px;
		}

		a {
			width: 90px;
			background: #fff;
			color: #304d6b;
			float: right;
			margin-top: 25px;
			text-align: center;
			line-height: 30px;
			border-radius: 15px;
			margin-right: 38px;
		}

	}

}

.types-box {

	width: 1200px;
	margin: auto;
	margin-top: 20px;
	overflow: hidden;

	div {
		margin: 20px 10px 0 10px;
		float: left;
		height: 150px;
		width: (1200-100)/4 * 1px;
		background: #fff;
		display: block;
		border: 0;
		padding: 0;

		img {
			width: 80px;
			display: block;
			margin: auto;
			margin-top: 20px;
		}

		a {
			display: block;
			width:100%;
			height: 120px;
			background-color: #999;
			background-repeat: no-repeat;
			background-size: cover;
			background-position: center;
		}

		h4 {
			text-align: center;
			color: #F16B75;
			margin-top: 15px;
			font-size: 1.3rem;
			font-weight: bold;
		}

		p {
			line-height: 30px;
			font-weight: bold;
			text-align: center;
			color: #222;
			cursor: default;
			-webkit-user-select:none;
			-moz-user-select:none;
			-ms-user-select:none;
			user-select:none;
		}
	}
}

.new-type-box{

	position: fixed;
	top:0;
	left:0;
	width:100vw;
	height:100vh;
	background:rgba(0,0,0,0.5);
	z-index:100;


	display: flex;
	flex-direction: column;
	.top,.bottom{
		flex:1;
	}

	.middle{
		form{
			background:#fff;
			width:500px;
			border-radius:5px;
			margin:auto;
			overflow: hidden;
			font-size:1.3rem;
			padding-bottom:50px;
			.title{
				padding:10px 20px;
				background:#F3F9FF;
				line-height:20px;
				img{
					float: right;
					height:15px;
					margin-top:2px;
				}
			}

			.add-btn{
				height:50px;
				margin:auto;
				display: block;
			}

			div{
				padding:20px;
				p{
					margin-bottom:20px;
				}
				input[type='text']{
					width:80%;
					padding:5px;
					line-height:20px;
					border:1px solid #ccc;
					border-radius: 3px;

				}
				span{
					margin-right:20px;
				}
				img{
					height:80px;
					padding:5px;
					border:1px solid #ccc;
				}
			}
		}
	}
}






.pagination {

	margin: auto;
	text-align: center;
	margin-top: 20px;
	li {
		display: inline-block;
		line-height: 30px;
		width: 30px;
		a {
			display: block;
			background: #ddd;
			color: blue;
		}
	}

}

.main-container {

	display: flex;
	width:100%;
	.left-nav {
		background:#fff;
		width: 200px;
		a {
			width: 100%;
			display: block;
			text-indent: 20px;
			line-height: 51px;
			font-size: 1.5rem;
			color: #000;
		}

		a.selected,
		a:hover{
			background:#F3F9FF;
			color: #729bd5;
		}
	}

	.main-content {
		flex: 1;
		padding:20px;
		overflow: scroll;
	}
}

.wang-edit{
	background:#fff;
}
.table{

	border:1px solid #333;
	width:100%;
	border-collapse: collapse;
	background:#fff;
	th{
		text-align: center;
		background:#F3F9FF;
		line-height:50px;
	}

	td,th{
		border:1px solid #ccc;
		line-height:50px;
		text-align: center;

	}
}


.num{
	color:#EB6877;
}

.content-anv{
	padding:20px;
	background:#fff;
	margin-bottom:20px;
	border-radius:5px;
	font-size:1.3rem;
	ul{
		float: right;
	}
	li{
		float:right;
		border-right:1px solid #ccc;
		padding:0px 10px;
		&:nth-child(1){
			border:none;
		}
	}
}

.seach-box{

	background:#ddd;
	padding:20px;
	input,select,p{
		height:40px;
		padding:3px 5px;
		border-radius:5px;
		border:1px solid #ccc;
	}


	p{
		border:none;
		float:right;
		img{

			height:100%;

		}
	}

}